<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>工作维护时间</title>
<link href="../Styles/css.css" rel="stylesheet" type="text/css" />
<script src="../Scripts/My97DatePicker/WdatePicker.js"
	type="text/javascript"></script>
<script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../Scripts/IndexManager.js" type="text/javascript"></script>
<script src="../Scripts/selectProject.js" type="text/javascript"></script>
<script type="text/javascript">
	function openWin() {

		showModalDialog(
				"/wanda/project/Wd_ht_project_add.do",
				"example04",
				"dialogWidth:600px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: yes;help:yes;resizable:yes;status:yes")
	}

	function openWin1() {

		/* showModalDialog(
				"/wanda/project/Wd_ht_project_add.do",
				"example04",
				"dialogWidth:600px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: yes;help:yes;resizable:yes;status:yes") */
			location.href="/wanda/project/Wd_ht_project_toAdd.do" ;	
	}
</script>
</head>
<body style="margin-top: 5px; background: #EFF3FF;">
		<form action="/wanda/reception/select_reception.do" method="post">
		<h3>查询接待记录</h3>
        	详细信息：<input type="text" name="receptionContent" />
        	客户姓名：<input type="text" name="customerName" />
        	<input type="submit" value="查询" />
        </form>
	<form method="post" action="/wanda/project/selectAll.do" id="form1">

		<div id="divOne">
			
			<div class="cxlb_2" id="indexs">
			<h2>接待记录列表</h2>
				<table width="100%" class="tablist">
					<thead>
						<tr>
							<th width="20%">客户姓名</th>
							<th width="15%">接待方式</th>
							<th width="15%">业务员编号</th>
							<th width="15%">业务员姓名</th>
							<th width="15%">详细信息</th>
							<th width="">操作</th>

						</tr>
					</thead>
					<tbody id="tab">
						<c:forEach var="rlist" items="${ relist }">
							<tr>
								<td width="20%">${ rlist.customerName }</td>
								<td width="15%">${ rlist.receptionMode }</td>
								<td width="15%">${ rlist.number }</td>
								<td width="15%">${ rlist.userName }</td>
								<td width="15%">${ rlist.receptionContent }</td>
								<td width=""><a href="/wanda/reception/toupdate_reception.do?receptionRecordId=${rlist.receptionRecordId}"
									> 修改</a>||
									<a href="javaScript:void(0)" onclick="del('${rlist.receptionRecordId}')">删除</a></td>
							</tr>

						</c:forEach>
			

					</tbody>
					<tr>

					</tr>
				</table>
			
			</div>
		
		</div>
		<input type="hidden" name="hidProductIdSelect" id="hidProductIdSelect" />
	</form>
	<script type="text/javascript">
		//删除
                function del(receptionRecordId){
			  		if(confirm('是否删除？')){
			  			location.href="/wanda/reception/delete_reception.do?receptionRecordId="+receptionRecordId;
			  		}
			  	}
		</script>
</body>
</html>

